package com.example.educational.utils;

public class PrintUtil {
    public static String JoinStr(String... args) {
        StringBuilder stringBuilder = new StringBuilder();
        for (String s : args) {
            stringBuilder.append(s);
        }
        return stringBuilder.toString();
    }

    public static String printTips(String... args) {
        String result = JoinStr(args);
        System.out.println(result);
        return result;
    }

}
